package cn.jdemo.jdk8.colon;

public final class Objects {
    private String str;
    private Objects thiz;
    public Objects(){
    }
    public Objects(Objects objects){
        this.thiz = objects;
    }

    public void setStr(String str) {
        System.out.println(str);
        this.str = str;
    }

    public void setThiz(Objects objects) {
        this.thiz = objects;
    }

    public String getStr(String nowStr) {
        System.out.println(str);
        return str;
    }
}
